import Layout from '@/page/index/'
export default [{
        path: '/wel',
        component: Layout,
        children: [{
            path: 'index',
            name: '首页',/*
            component: () =>
                import ( /!* webpackChunkName: "views" *!/ '@/views-personal/equipment/aintenance/dashboard')*/
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/page/wel')
        }]
    }, {
        path: '/info',
        component: Layout,
        redirect: '/info/index',
        children: [{
            path: 'index',
            name: '个人信息',
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/info/index')
        }, {
            path: 'message',
            name: '消息中心',
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/info/message')
        }]
    }, {
        path: '/advanced-router',
        component: Layout,
        children: [{
            path: 'mutative-detail/:id',
            name: '动态路由详情页',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views/advanced-router/mutative-detail')
        }, {
            path: 'argument-detail',
            name: '参数路由详情页',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views/advanced-router/argument-detail')
        }]
    },

    {
        path: '/ledger',
        component: Layout,
        children: [{
            path: 'ProjectLedger',
            name: '项目台账',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/ledger/ProjectLedger/ledgerManage')
        }, {
            path: 'equipmentLedger',
            name: '设备台账',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/ledger/equipmentLedger')
        }]
    },
    {
        path: '/appointment',
        component: Layout,
        children: [{
            name: "预约日历",
            path: 'calendar',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/appointment/calendar')
        }, {
            name: "预约申请",
            path: 'apply',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/appointment/apply')
        }, {
            name: "借出申请",
            path: 'lend',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/appointment/lend')
        }, {
            name: "借出归还",
            path: 'lendreturn',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/appointment/lendreturn')
        }]
    },
    {
        path: '/aintenance',
        component: Layout,
        children: [{
            name: "设备仪表盘",
            path: 'dashboard',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/aintenance/dashboard')
        }, {
            name: "维保日历",
            path: 'calendar',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/aintenance/calendar')
        }, {
            name: "故障报停",
            path: 'failureReporting',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/aintenance/failure-reporting')
        }, {
            name: "维保申请",
            path: 'maintenanceApplication',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/aintenance/maintenance-application')
        }, {
            name: "维保执行",
            path: 'maintenanceExecution',
            component: () => import ( '@/views-personal/equipment/aintenance/maintenance-execution')
        }, {
            name: "报废申请",
            path: 'scrapApplication',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/aintenance/scrap-application')
        }, {
            name: "报废执行",
            path: 'scrapExecution',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/aintenance/scrap-execution')
        }]
    },
     {
        path: '/device',
        component: Layout,
        children: [
            {
            name: "设备管理",
            path: 'management',
            component: () =>
                import ( /* webpackChunkName: "management" */ '@/views-personal/equipment/device/management')
           },
           {
            name: "设备管理",
            path: 'protocol',
            component: () =>
                import ( /* webpackChunkName: "protocol" */ '@/views-personal/equipment/device/protocol')
           },
           {
            name: "设备管理",
            path: 'excel',
            component: () =>
                import ( /* webpackChunkName: "excel" */ '@/views-personal/equipment/device/excel')
           },
           {
            name: "设备运行仪表盘",
            path: 'dashboard',
            component: () =>
                import ( /* webpackChunkName: "dashboard" */ '@/views-personal/equipment/device/dashboard')
           },
           {
            name: "设备运行仪表盘",
            path: 'deviceData',
            component: () =>
                import ( /* webpackChunkName: "protocol" */ '@/views-personal/equipment/device/deviceData')
           }
    ]
    }, 
    
    {
        path: '/train',
        component: Layout,
        children: [{
            name: "培训管理",
            path: 'management',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/equipment/train/management')
        }]
    }, {
        path: '/sampleManage',
        component: Layout,
        children: [{
            id: 611,
            name: "样品管理",
            path: 'management',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sample/sampleManage/management')
        }]
    }, {
        path: '/sampleData',
        component: Layout,
        children: [{
            name: "设备文件",
            path: 'deviceFile',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sample/sampleData/deviceFile')
        },{
            name: "设备转入数据",
            path: 'equipment',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sample/sampleData/equipment')
        }, {
            name: "人工录入数据",
            path: 'artificial',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sample/sampleData/artificial')
        }, {
            name: "检测项目数据",
            path: 'project',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sample/sampleData/project')
        }]
    }, {
        path: '/projectManage',
        component: Layout,
        children: [{
            name: "项目列表",
            path: 'progectList',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/projectManage/progectList')
        }, {
            name: "外聘人员",
            path: 'outsideStaff',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/projectManage/outsideStaff')
        }]
    }, {
        path: '/consumablesReceive',
        component: Layout,
        children: [{
            name: "领用申请",
            path: 'apply',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/receive/apply')
        }, {
            name: "领用出库",
            path: 'outStock',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/receive/outStock')
        }]
    }, {
        path: '/consumablesMining',
        component: Layout,
        children: [{
            name: "采购管理",
            path: 'purchase',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/mining/purchase')
        }, {
            name: "入库管理",
            path: 'warehousing',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/mining/warehousing')
        }, {
            name: "退货管理",
            path: 'returnGoods',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/mining/returnGoods')
        }, {
            name: "报损报废",
            path: 'scrap',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/mining/scrap')
        }]
    },{
        path: '/consumablesWarehousing',
        component: Layout,
        children: [{
            name: "实时库存",
            path: 'realTime',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/warehousing/realTime')
        }, {
            name: "盘点管理",
            path: 'inventory',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/warehousing/inventory')
        }, {
            name: "耗材分类",
            path: 'consumables',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/consumables/warehousing/consumables')
        }]
    },
    {
        path: '/dangerousReceive',
        component: Layout,
        children: [{
            name: "领用申请",
            path: 'apply',
            component: () =>
                import ( '@/views-personal/dangerous/receive/apply')
        }, {
            name: "领用出库",
            path: 'outStock',
            component: () =>
                import ( '@/views-personal/dangerous/receive/outStock')
        }]
    }, {
        path: '/dangerousMining',
        component: Layout,
        children: [{
            name: "采购管理",
            path: 'purchase',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/mining/purchase')
        }, {
            name: "入库管理",
            path: 'warehousing',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/mining/warehousing')
        }, {
            name: "退货管理",
            path: 'returnGoods',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/mining/returnGoods')
        }, {
            name: "报损报废",
            path: 'scrap',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/mining/scrap')
        }]
    },{
        path: '/dangerousWarehousing',
        component: Layout,
        children: [{
            name: "实时库存",
            path: 'realTime',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/warehousing/realTime')
        }, {
            name: "盘点管理",
            path: 'inventory',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/warehousing/inventory')
        }, {
            name: "危险品分类",
            path: 'consumables',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/dangerous/warehousing/consumables')
        }]
    },
    {
        path: '/sysManage',
        component: Layout,
        redirect: '/sysManage/monitoring',
        children: [{
            name: "物联平台",
            path: 'objectAssociation',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysManage/objectAssociation')
        }, {
            name: "系统管理",
            path: 'sysManage',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysManage/sysManage')
        }, {
            path: 'monitoring',
            name: '视频监控',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysManage/monitoring')
        }]
    }, {
        path: '/sysSetup',
        component: Layout,
        children: [{
            name: "用户管理",
            path: 'userManage',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysSetup/userManage')
        }, {
            name: "实验室管理",
            path: 'laboratoryManage',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysSetup/laboratoryManage')
        }, {
            name: "仓库管理",
            path: 'warehouseManage',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysSetup/warehouseManage')
        }, {
            name: "供应商管理",
            path: 'supplierManage',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysSetup/supplierManage')
        }, {
            name: "审批流程管理",
            path: 'approvalManage',
            component: () =>
                import ( /* webpackChunkName: "utils" */ '@/views-personal/sysSetup/approvalManage')
        }]
    }
]